//
//  VideoRecordView.h
//  for_test
//
//  Created by Carlson Lee on 2017/4/5.
//  Copyright © 2017年 Carlson Lee. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

@interface VideoRecordView : UIView

@property(nonatomic, strong)AVCaptureVideoPreviewLayer* captureLayer;
@property(nonatomic, assign, readonly)BOOL isRecording;

- (void)openSession:(BOOL )isOpen;
- (void)startRecord:(BOOL )isRecord;

@end
